import 'package:flutter/material.dart';

class ListView03 extends StatelessWidget {
  const ListView03({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("list view 03"),
      ),
      body: Container(
        padding: const EdgeInsets.symmetric(vertical: 20),
        child: ListView.builder(
            itemCount: 200,
            prototypeItem: const ListTile(
              title: Text("1"),
            ),
            itemBuilder: (BuildContext context, int index) {
              return ListTile(
                title: Text("$index"),
              );
            }),
      ),
    );
  }
}
